comparison of text and binary file